package com.hl.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.beans.Transient;
import java.util.Date;

public class WechatActivityUser {
    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 用户头像
     */
    private String userProfilePhoto;

    /**
     * 用户openid
     */
    private String userOpenid;

    /**
     * 注册时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    /**
     * 微信unionid
     */
    private String userUnionid;

    /**
     * 手机号
     */
    private String userPhone;

    /**
     * 小程序openid
     */
    private String wechatAppletOpenid;

    /**
     * 活跃经度
     */
    private String activeLongitude;

    /**
     * 活跃纬度
     */
    private String activeLatitude;

    /**
     * 活跃小区id
     */
    private Integer activeCommunityId;


    // 活跃小区名字
    private String activeCommunityName;

    /**
     * 用户活跃时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date wechatUserActiveTime;

    /**
     * 用户常用小区id
     */
    private Integer oftenUseCommunityId;

    // 订单数
    private Integer userOrderCount;

    /**
     * 获取用户id
     *
     * @return user_id - 用户id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户id
     *
     * @param userId 用户id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取用户姓名
     *
     * @return user_name - 用户姓名
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置用户姓名
     *
     * @param userName 用户姓名
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取用户头像
     *
     * @return user_profile_photo - 用户头像
     */
    public String getUserProfilePhoto() {
        return userProfilePhoto;
    }

    /**
     * 设置用户头像
     *
     * @param userProfilePhoto 用户头像
     */
    public void setUserProfilePhoto(String userProfilePhoto) {
        this.userProfilePhoto = userProfilePhoto;
    }

    /**
     * 获取用户openid
     *
     * @return user_openid - 用户openid
     */
    public String getUserOpenid() {
        return userOpenid;
    }

    /**
     * 设置用户openid
     *
     * @param userOpenid 用户openid
     */
    public void setUserOpenid(String userOpenid) {
        this.userOpenid = userOpenid;
    }

    /**
     * 获取注册时间
     *
     * @return add_time - 注册时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * 设置注册时间
     *
     * @param addTime 注册时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * 获取微信unionid
     *
     * @return user_unionid - 微信unionid
     */
    public String getUserUnionid() {
        return userUnionid;
    }

    /**
     * 设置微信unionid
     *
     * @param userUnionid 微信unionid
     */
    public void setUserUnionid(String userUnionid) {
        this.userUnionid = userUnionid;
    }

    /**
     * 获取手机号
     *
     * @return user_phone - 手机号
     */
    public String getUserPhone() {
        return userPhone;
    }

    /**
     * 设置手机号
     *
     * @param userPhone 手机号
     */
    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    /**
     * 获取小程序openid
     *
     * @return wechat_applet_openid - 小程序openid
     */
    public String getWechatAppletOpenid() {
        return wechatAppletOpenid;
    }

    /**
     * 设置小程序openid
     *
     * @param wechatAppletOpenid 小程序openid
     */
    public void setWechatAppletOpenid(String wechatAppletOpenid) {
        this.wechatAppletOpenid = wechatAppletOpenid;
    }

    /**
     * 获取活跃经度
     *
     * @return active_longitude - 活跃经度
     */
    public String getActiveLongitude() {
        return activeLongitude;
    }

    /**
     * 设置活跃经度
     *
     * @param activeLongitude 活跃经度
     */
    public void setActiveLongitude(String activeLongitude) {
        this.activeLongitude = activeLongitude;
    }

    /**
     * 获取活跃纬度
     *
     * @return active_latitude - 活跃纬度
     */
    public String getActiveLatitude() {
        return activeLatitude;
    }

    /**
     * 设置活跃纬度
     *
     * @param activeLatitude 活跃纬度
     */
    public void setActiveLatitude(String activeLatitude) {
        this.activeLatitude = activeLatitude;
    }

    /**
     * 获取活跃小区id
     *
     * @return active_community_id - 活跃小区id
     */
    public Integer getActiveCommunityId() {
        return activeCommunityId;
    }

    /**
     * 设置活跃小区id
     *
     * @param activeCommunityId 活跃小区id
     */
    public void setActiveCommunityId(Integer activeCommunityId) {
        this.activeCommunityId = activeCommunityId;
    }

    /**
     * 获取用户活跃时间
     *
     * @return wechat_user_active_time - 用户活跃时间
     */
    public Date getWechatUserActiveTime() {
        return wechatUserActiveTime;
    }

    /**
     * 设置用户活跃时间
     *
     * @param wechatUserActiveTime 用户活跃时间
     */
    public void setWechatUserActiveTime(Date wechatUserActiveTime) {
        this.wechatUserActiveTime = wechatUserActiveTime;
    }

    /**
     * 获取用户常用小区id
     *
     * @return often_use_community_id - 用户常用小区id
     */
    public Integer getOftenUseCommunityId() {
        return oftenUseCommunityId;
    }

    /**
     * 设置用户常用小区id
     *
     * @param oftenUseCommunityId 用户常用小区id
     */
    public void setOftenUseCommunityId(Integer oftenUseCommunityId) {
        this.oftenUseCommunityId = oftenUseCommunityId;
    }

    public String getActiveCommunityName() {
        return activeCommunityName;
    }

    public void setActiveCommunityName(String activeCommunityName) {
        this.activeCommunityName = activeCommunityName;
    }

    public Integer getUserOrderCount() {
        return userOrderCount;
    }

    public void setUserOrderCount(Integer userOrderCount) {
        this.userOrderCount = userOrderCount;
    }
}